package com.ycj.entropy.util;

import java.util.Collection;

public class CollectionUtil {
    public static boolean notEmpty(Collection<?> c) {
        return c != null && !c.isEmpty();
    }

    public static boolean empty(Collection<?> c) {
        return !notEmpty(c);
    }
}
